<%@ include file="/WEB-INF/views/utils/includes.jsp"%>
<gf:layout>
	<gf:form>
		<div class="form-input">
			<tu:i18n value="label.product.enabled" />:
			<gf:checkbox value="true" checked="${product == null ? true : product.enabled}" path="enabled" />
		</div>
		<div class="form-input">
			<tu:i18n value="label.product.name" />:
			<gf:input value="${product.description}" path="description" required="true" />
		</div>
		<div class="form-input">
			<tu:i18n value="label.product.measure" />:
			<gf:selectObject value="${product.measure}" enableEmpty="true" required="true" nameProperty="description" items="${measureList}" idProperty="id" path="measure"/>
		</div>
		<div class="form-input">
			<tu:i18n value="label.product.unitPrice" />:
			<gf:input value="${product.unitPrice}" path="unitPrice" required="true" />
		</div>
	</gf:form>
</gf:layout>
